
Version:=3.48
ModuleName:=rzsz

Objcet:=$(ModuleName).tar.gz
ObjectDir:=src
ObjcetSource:=$(ModuleName)-$(Version).tar.gz

DependFiles:=

InstallDir:=$(shell pwd)/tmp/usr/local/bin

.PHONY: all $(ObjectDir) clean dist_clean

all:$(Objcet)

$(Objcet): $(ObjcetSource)
	tar -xzf $(ObjcetSource)
	mkdir -p $(InstallDir)
	$(MAKE) -C $(ObjectDir) posix
	cp $(ObjectDir)/rz $(ObjectDir)/sz $(InstallDir)
	tar czf $(Objcet) tmp

clean:
	rm -rf $(Objcet) tmp

dist_clean:clean
	rm -rf $(ObjectDir) $(ObjcetSource)
	
include ../../Makefile.Res
